package com.hdsx.jxcsxm.utile;

import com.hdsx.dao.base.BaseDaoHander;
import com.hdsx.dao.base.imp.BaseDaoHanderImpl;

/**
 * @author 占贤银
 * time 2023/5/18 10:07
 * description 生命之灯因热情而点燃，生命之舟因拼搏而前行
 */
public final class ConnectionHandle {

    private BaseDaoHander baseDaoHander = null;

    private static class Holder {
        public static ConnectionHandle resource = new ConnectionHandle();
    }

    public static ConnectionHandle getInstall() {
        return Holder.resource;
    }

    private ConnectionHandle() {
        this.baseDaoHander = new BaseDaoHanderImpl("jdbc");
    }

    public BaseDaoHander getBaseDaoHander() {
        return this.baseDaoHander;
    }
}
